package pl.vanta.mjuzik2.guice.modules;

import pl.vanta.mjuzik2.api.services.BundleService;
import pl.vanta.mjuzik2.api.services.ConfigService;
import pl.vanta.mjuzik2.impl.bundles.BundleServiceImpl;
import pl.vanta.mjuzik2.impl.config.HardcodedConfigServiceImpl;

import com.google.inject.AbstractModule;
import com.google.inject.Scopes;

public class MainModule extends AbstractModule
{
	@Override
	protected void configure()
	{
		bind(ConfigService.class).to(HardcodedConfigServiceImpl.class).in(Scopes.SINGLETON);
		bind(BundleService.class).to(BundleServiceImpl.class).in(Scopes.SINGLETON);
	}
}